# -*- coding: utf-8 -*-
"""
Created on Wed Oct 28 08:49:10 2020

@author: Administrator
"""

class Fblj(object):
    
    def __init__(self,size):
        self.size=size
        
        
    def __iter__(self):
        a=1
        b=1
        for i in range(1,self.size+1):
            if(i==1 or i==2):
                yield 1
            else:
                yield a+b
                c=a+b
                a=b
                b=c
            
            
            
if __name__ == '__main__':  
          
    fb=Fblj(10)

